home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / guides-texts / amos / amoslist / text0052.txt < prev    next >
Encoding:
Text File  |  1995-09-01  |  1.5 KB  |  36 lines

  1. > Greetings, Robert Andrew Currie. Remember this:
  2. > > > I've got a 64EHB screen and I want to shade it *quickly* so I can place some
  3. > > > white text on top of it, without it merging into the background. What I want
  4. > > > it to do is to take the colours 0-31, add 32 to their index (to make them half
  5. > > > as bright), and take colours 32-63 and turn them to colour 0.
  6. > > Why don't you set the Gr Writing to XOR mode and draw a bar (or
  7. > > whatever you want) in color 32 over the portion of the screen
  8. > > that you want shaded.
  9. > I've tried all types of Gr Writings but they either distort the colours, clear
  10. > the screen or do nothing.
  11. > I've got the Turbo extension so some of its Plane Swap commands might do the
  12. > trick? All my experimenting crashed the computer! Is it possible to achieve
  13. > this effect using these commands?
  14. >      _________________________________
  15. >     /                                 \
  16. >     > Ben Wyatt - bwyatt@paston.co.uk <
  17. >     \_________________________________/ ©1995 Very Interesting Signatures
  18.  
  19.     I obviously missed that last part about th 32-63 colors
  20. being set to black. What I told you will create the shaded affect
  21. but assumes that you havn't used colors 32-63 in the background.
  22. In order to deal with that problem you will have to either alter
  23. the screen info directly by peeking and poking in the planes or
  24. grab a portion of the screen using Get Icon and alter that data
  25. but regardless, I can't see any simple solution to your problem. 
  26.  
  27.             Robert Currie
  28.  
  29.  
  30.